package com.zy.service;

import java.util.List;

import com.zy.entity.Customer;
import com.zy.entity.Linkman;

import sun.awt.image.ImageWatched.Link;

public interface LinkManService {
	//获取联系人的客户类型
	public List<Customer> getCustomer();
	
	//插入联系人
	public void insertLinkman(Linkman linkman);
	
	//获取所有的联系人信息
	public List<Linkman> quaryall();
	
	//根据id获取联系人原来的信息
	public Linkman quaryLinkman(int id);
	
	public void updateLinkman(Linkman linkman);
	
	public List<Linkman> queryByName(String name);
	
	//仅通过所属客户查询
	public List<Linkman> quaryByCustomer(int clid);
	//通过所属客户和联系人查询
	public List<Linkman> quaryByCL(int clid,String linkname);
}
